module.exports = () => {
    return async (ctx, next) => {
        ctx.socket.emit('packet', 'packet received...');
        await next();
    }
};